package pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value="tb_users")
public class UserRegister {
    private String user_name;
    private String nick_name;
    private String user_pass;
    private String user_phone;
    private String user_email;

    public UserRegister() {
    }

    public UserRegister(String user_name, String nick_name, String user_pass, String user_phone, String user_email) {
        this.user_name = user_name;
        this.nick_name = nick_name;
        this.user_pass = user_pass;
        this.user_phone = user_phone;
        this.user_email = user_email;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public String getUser_pass() {
        return user_pass;
    }

    public void setUser_pass(String user_pass) {
        this.user_pass = user_pass;
    }

    public String getUser_phone() {
        return user_phone;
    }

    public void setUser_phone(String user_phone) {
        this.user_phone = user_phone;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    @Override
    public String toString() {
        return "UserRegister{" +
                "user_name='" + user_name + '\'' +
                ", nick_name='" + nick_name + '\'' +
                ", user_pass='" + user_pass + '\'' +
                ", user_phone='" + user_phone + '\'' +
                ", user_email='" + user_email + '\'' +
                '}';
    }
}
